package com.aharttogo.rpc.transport;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * 处理网络请求的handler
 * @author xiejialin
 * @date 2020/2/17 3:05 PM
 */
public interface RequestHandler {

    void onRequest(InputStream receive, OutputStream toResp);
}
